﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace HarveyNash.RefactoringAndCodeSmell.Refactoring.ExtractClass.Original
{
    public class Customer
    {
        public string FirstName { get; set; }
        public string LastName { get; set; }
        
        public string CreditCardNumer { get; set; }
        public string CreditCardSecurityCode { get; set; }
        public DateTime CreditCardExpiryDate { get; set; }
        public bool CreditCardExpired 
        {
            get { return CreditCardExpiryDate < DateTime.Today; }
        }  
    }
}
